package by.dkusch.aircompany.services.csv.load;

import org.apache.camel.CamelContext;
import org.springframework.stereotype.Component;

@Component
public class CsvRouteStarter {

	public void startCountry(CamelContext context) throws Exception {
		context.startRoute("countryRoute");
	}

	public void startRegion(CamelContext context) throws Exception {
		context.startRoute("regionRoute");
	}

	public void startAirport(CamelContext context) throws Exception {
		context.startRoute("airportRoute");
	}

}
